package com.study.service.ioc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IocTestServiceB {

	@Autowired
	private IocTestServiceA iocTestServiceA;

	public IocTestServiceB() {
		System.out.println("IocTestServiceB Construct is Running ");
	}


	public void test() {
		System.out.println("IocTestServiceB test Method Running");
		iocTestServiceA.test();
	}

}
